package lab6_templateMethod;

public class Main {
	public static void main(String arg[])
	{
		Ceai ceai=new Ceai();
		Cafea cafea=new Cafea();
		System.out.println("\nSe prepara ceaiul...");
		ceai.prepareRecipe();
		System.out.println("\nSe prepara cafeaua...");
		cafea.prepareRecipe();
		
		CeaiWithHook ceai2=new CeaiWithHook();
		CafeaWithHook cafea2=new CafeaWithHook();
		System.out.println("\nSe prepara ceaiul...");
		ceai2.prepareRecipe();
		System.out.println("\nSe prepara cafeaua...");
		cafea2.prepareRecipe();
	}
}
